package com.ruoyi.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 报价订单dto
 * @author 协同
 */
public class BJOrderDTO {
    private Long id;
    private Integer price;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date commitmentTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Date getCommitmentTime() {
        return commitmentTime;
    }

    public void setCommitmentTime(Date commitmentTime) {
        this.commitmentTime = commitmentTime;
    }

    @Override
    public String toString() {
        return "BJOrderDTO{" +
                "id=" + id +
                ", price=" + price +
                ", commitmentTime=" + commitmentTime +
                '}';
    }
}
